package com.bys.domain;

import org.springframework.stereotype.Component;

@Component
public class User {
    public String getName(Integer id){
        if(id.equals(1)){
            return "ergou";

        }else if (id.equals(2)){
            return "sangou";
        }
        return null;
    }
}
